﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApp2
{
    class PersonClass
    {
        private string name;
        private int num;
        private string address;

        public PersonClass(string name, int num, string address)
        {
            this.name = name;
            this.num = num;
            this.address = address;
        }

        public string Name { get => name; set => name = value; }
        public int Num { get => num; set => num = value; }
        public string Address { get => address; set => address = value; }
    }
}
